from django.conf.urls import url

from . import views

urlpatterns=[
    url(r'^find_password/$',views.FindPasswordChangeView.as_view()),
    url(r'^accounts/(?P<username>\w{5,20})/sms/token/$',views.UserNameView.as_view()),
    url(r'^sms_codes/$',views.SmsCodesView.as_view()),
    url(r'^accounts/(?P<username>\w{5,20})/password/token/$',views.PasswordView.as_view()),
    url(r'^users/(?P<user_id>\d+)/password/$',views.NewPasswordView.as_view()),
]